package org.anachronos.jeep.rcp;

import org.anachronos.jeep.ui.attach.VirtualMachineAttachementsView;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		final String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(true);
		layout.setFixed(true);
		
		layout.addStandaloneView(VirtualMachineAttachementsView.ID,  true, IPageLayout.BOTTOM, 0.25f, editorArea);
		layout.addStandaloneView("org.anachronos.jeep.rcp.view.navigator", true, IPageLayout.LEFT, 0.5f, editorArea);
	}

}
